#include "HttpServer.hpp"
#include <iostream>

int main(int argc, char *argv[])
{
    if (argc != 2)
        exit(2);
    std::unique_ptr<HttpServer> pts(new HttpServer(atoi(argv[1])));
    pts->init();
    pts->start();
    return 0;
}